Mewz\WCAS\Util\Matches D

Total Complexity 302
Dependencies 14
Dependents 16
Total lines 1,569
Lines of code 1,054
Logical lines of code 641
Comment lines 176
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
get_any_match_data()
D
19
60 205
save_rules()
D
29 31 130
query_matching_products()
C
33 30 86
match_product_stock()
C
36 27 69
query_matching_variations()
C
30 23 114
get_rules()
B
39 18 59
validate_filters_raw()
B
46 19 37
query_stock()
A
40 14 58
remove_condition()
A
44 11 44
get_validation_product_ids()
A
50 12 27
get_rules_tax_query()
A
49 10 32
build_stock_match_query()
A
45 8 41
get_all_stock_attributes()
A
49 7 31
validate_filters()
S
58 6 15
get_attribute_display_range()
S
55 5 18
get_term_available_quantity()
S
55 4 18
match_raw_stock()
S
61 4 12
calc_limit_qty()
S
65 4 9
add_single_rule()
S
53 2 22
ids_in_array()
S
67 3 8
get_term_display_quantity()
S
64 2 9
query()
S
64 2 10